package com.qingcheng.dao;

import com.qingcheng.pojo.order.Order;
import com.qingcheng.pojo.order.OrderItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OrderItemMapper extends Mapper<OrderItem> {
    @Select("SELECT * FROM tb_order WHERE order_id = #{orderId}")
    public OrderItem findOrderItemById(@Param("orderId") String orderId);
}

